#include "game_client_player.h"


GameClientPlayer::GameClientPlayer()
{
}


GameClientPlayer::~GameClientPlayer()
{
}

bool GameClientPlayer::getIsGuest() {
	return m_isGuest;
}

std::string GameClientPlayer::getUserName() {
	return m_userName;
}

std::string GameClientPlayer::getNickName() {
	return m_nickName;
}

std::string GameClientPlayer::getPhoneNo() {
	return m_phoneNo;
}

std::string GameClientPlayer::getLastLoginTime() {
	return m_lastLoginTime;
}
bool GameClientPlayer::setNickName(const std::string & nickName)
{
	if (nickName == "") {
		return false;
	}
	m_newNickName = nickName;
	return true;
}
bool GameClientPlayer::setPhoneNo(const std::string & phoneNo)
{
	if (phoneNo == "") {
		return false;
	}
	m_newPhoneNo = phoneNo;
	return true;
}
bool GameClientPlayer::setAvatorId(const std::string & avatorId)
{
	return true;
}
int GameClientPlayer::getScore() {
	return m_score;
}

int GameClientPlayer::getChairId() {
	return m_chairId;
}